/* 
 * File:   InfoCommand.h
 * Author: Bram
 *
 * Created on January 21, 2013, 6:33 PM
 */

#ifndef INFOCOMMAND_H
#define	INFOCOMMAND_H

#include "Command.h"

class InfoCommand : public Command
{
public:
    InfoCommand();
    InfoCommand(const char *);
    InfoCommand(const InfoCommand& orig);
    virtual ~InfoCommand();
    Command* createNew();
    bool isValid();
    
    void ExcecuteServerReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteServerSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
    void ExcecuteClientReceiveCommand(TcpSocket*, queue<Command *>& commandQueue);
    void ExcecuteClientSendCommand(TcpSocket*, queue<Command *>& commandQueue);
    
private:
    static InfoCommand cInstance;

};

#endif	/* INFOCOMMAND_H */

